package com.bigdata.mysql.vo;/**
 * Created by Administrator on 2019/8/21 0021.
 */

import com.bigdata.mysql.entity.JkfwMenu;

/**
 * @author lly
 * @description
 * @date 2019/8/21 0021
 **/
public class VoJkfwMenu {
    /**
     * METDATA.JKFW_MENU.MENU_ID
     *
     * @ibatorgenerated 2019-07-10 16:32:00
     */
    private String menuId;

    /**
     * METDATA.JKFW_MENU.PARENT_ID
     *
     * @ibatorgenerated 2019-07-10 16:32:00
     */
    private String parentId;

    /**
     * METDATA.JKFW_MENU.NAME
     *
     * @ibatorgenerated 2019-07-10 16:32:00
     */
    private String name;

    /**
     * METDATA.JKFW_MENU.URL
     *
     * @ibatorgenerated 2019-07-10 16:32:00
     */
    private String url;

    /**
     * METDATA.JKFW_MENU.PERMS
     *
     * @ibatorgenerated 2019-07-10 16:32:00
     */
    private String perms;

    /**
     * METDATA.JKFW_MENU.TYPE
     *
     * @ibatorgenerated 2019-07-10 16:32:00
     */
    private Short type;

    /**
     * METDATA.JKFW_MENU.ICON
     *
     * @ibatorgenerated 2019-07-10 16:32:00
     */
    private String icon;

    /**
     * METDATA.JKFW_MENU.ORDER_NUM
     *
     * @ibatorgenerated 2019-07-10 16:32:00
     */
    private Integer orderNum;
    private int level;
    private boolean expanded;
    private boolean isLeaf;

    public VoJkfwMenu() {

    }

    public VoJkfwMenu(JkfwMenu menu) {
        this.menuId = menu.getMenuId();
        this.parentId = menu.getParentId();
        this.name = menu.getName();
        this.url = menu.getUrl();
        this.perms = menu.getPerms();
        this.type = menu.getType();
        this.icon = menu.getIcon();
        this.orderNum = menu.getOrderNum();
        this.level = 0;
        this.expanded = false;
        this.isLeaf = false;
    }


    public String getMenuId() {
        return menuId;
    }

    public void setMenuId(String menuId) {
        this.menuId = menuId;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getPerms() {
        return perms;
    }

    public void setPerms(String perms) {
        this.perms = perms;
    }

    public Short getType() {
        return type;
    }

    public void setType(Short type) {
        this.type = type;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public Integer getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(Integer orderNum) {
        this.orderNum = orderNum;
    }

    public int getLevel() {
        return level;
    }

    public void setLevel(int level) {
        this.level = level;
    }

    public boolean isExpanded() {
        return expanded;
    }

    public void setExpanded(boolean expanded) {
        this.expanded = expanded;
    }

    public boolean isLeaf() {
        return isLeaf;
    }

    public void setLeaf(boolean leaf) {
        isLeaf = leaf;
    }
}
